﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp9
{
    class Shape
    {
        private string color;
        public string Color { get; set; }
        public Shape() { }
        //虚方法
        public virtual void GetArea(double num)
        { }

    }
}
